package com.yd.mq.parse.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.yd.mq.parse.core.AbstractService;
import com.yd.mq.parse.dao.AlarmRecordMapper;
import com.yd.mq.parse.model.AlarmRecord;
import com.yd.mq.parse.service.AlarmRecordService;

/**
 * Created by admin on 2017/09/12.
 */
@Service
@Transactional
public class AlarmRecordServiceImpl extends AbstractService<AlarmRecord> implements AlarmRecordService {
	@Resource
	private AlarmRecordMapper alarmRecordMapper;

	@Override
	public AlarmRecord selectAlarmRecord(AlarmRecord alarmRecord) {
		return alarmRecordMapper.selectAlarmRecord(alarmRecord);
	}

	@Override
	public void updateAlarmRecord(AlarmRecord alarmRecord) {
		alarmRecordMapper.updateAlarmRecord(alarmRecord);
	}

}
